﻿#include <cmath>
#include <iostream>

using namespace std;

int main() {
	double x;
	cout << "实数：";
	cin >> x;

	if (double m = fmod(x, 10)) {
		cout << "这个数不可以被10整除" << endl;
		cout << "余数为：" << m << endl;
	}
	else {
		cout << "这个数可以被10整数" << endl;
	}

	cin.get();
	cin.get();
}